Approximate Program Smoothing Using Mean-Variance Statistics, with Application to Procedural Shader Bandlimiting
نویسندگان
چکیده
Fig. 1. Our paper gives a novel compiler framework for smoothing out programs in an approximate manner. Here we show how our smoothing framework can be applied to bandlimiting (antialiasing) procedural shader programs. In (a) is the ground truth result for a brick shader, estimated by using 1000 samples; (b) is the aliased result due to naively evaluating the original shader program; (c) is our result; (d) is the result of previous work; and (e) is multi-sample antialiasing (MSAA), chosen to use comparable run-time as our result. The L2 errors are reported in sRGB color space, with the inset heatmap depicting per-pixel L2 error. Our result has significantly less error, noise, and aliasing than other approaches.
منابع مشابه
Towards Automatic Band-Limited Procedural Shaders
Procedural shaders are a vital part of modern rendering systems. Despite their prevalence, however, procedural shaders remain sensitive to aliasing any time they are sampled at a rate below the Nyquist limit. Antialiasing is typically achieved through numerical techniques like supersampling or precomputing integrals stored in mipmaps. This paper explores the problem of analytically computing a ...
متن کاملSmoothing Spline Estimation of Variance Functions
This article considers spline smoothing of variance functions. We focus on selection of smoothing parameters and develop three direct data-driven methods: unbiased risk (UBR), generalized approximate cross validation (GACV) and generalized maximum likelihood (GML). In addition to guaranteed convergence, simulations show that these direct methods perform better than existing indirect UBR, genera...
متن کاملA Designer Centric Procedural Texture Generator Using Modular Bivariate Quadratic Functions
Modular bivariate quadratic functions are used to procedurally generate textures that resemble ornamentation, skin, scales, feathers, and textiles. They are easy to implement and particularly suited to parallel execution as a pixel shader. A prototype browser-based procedural texture generator with an interface suitable for use by non-mathematicians such as designers and artists is described.
متن کاملDiscretized Laplacian Smoothing by Fourier Iviethods
An approach to multi-dimensional smoothing is introduced which is based on a penalized with a modified The choice of penalty stanaard multi-dim~nsiQnal.Lapladan SQ11aI'e errQrcharacteristics at-least on the interior of hyper-rectangular~omains, which has wide restorationproblems,computar tions are carried out using fast Fourier transforms. Non-linear smoothing is accomplished by iterative appli...
متن کاملProcedural Terrain
We produce procedurally generated terrain consisting of geometry and textures. Geometry is created using the GPU at run-time. The textures are precomputed using the CPU and saved to disk for later access. A shader applies textures without the use of UVs to the geometry to create complex and interesting environments that are interactive in real-time.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1706.01208 شماره
صفحات -
تاریخ انتشار 2017